# request
# POST请求
import requests

url = "https://fanyi.baidu.com/sug"

s = input("输入翻译内容")

data = {
    "kw": s
}

res = requests.post(url, data=data)
print(res.json())
res.close()
